package com.ae.base.register;

import com.ae.base.ModConstant;
import com.ae.base.block.PlacedItem;
import net.minecraft.block.Block;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class BlockRegister {
    //创建方块注册器
    public static final DeferredRegister<Block> BLOCK = DeferredRegister.create(ForgeRegistries.BLOCKS, ModConstant.MOD_ID);
    //注册方块
    public static final RegistryObject<Block> PLACED_ITEM = BLOCK.register("placed_item", PlacedItem::new);
}
